package org.com.yz.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.com.yz.dal.dao.mapper.MchConfigMapper;
import org.com.yz.dal.dao.model.MchConfig;
import org.com.yz.dubbo.api.service.IMchConfigService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 * 商户配置表 服务实现类
 * </p>
 *
 * @author wzc123
 * @since 2018-08-02
 */
@Service(version = "1.0.0")
public class MchConfigServiceImpl implements IMchConfigService {

    @Autowired
    private MchConfigMapper mchConfigMapper;

    @Override
    public List<MchConfig> listCongi(MchConfig mchConfig) {
        return mchConfigMapper.select(mchConfig);
    }
}
